package request

// CreateAppointmentReq 创建预约请求
type CreateAppointmentReq struct {
	DoctorId     int64  `json:"doctorId" binding:"required"`
	ScheduleId   int64  `json:"scheduleId" binding:"required"`
	PatientId    int64  `json:"patientId" binding:"required"`
	VisitType    int    `json:"visitType" binding:"required"` // 1:初诊 2:复诊
	AppointmentDate string `json:"appointmentDate" binding:"required"`
	TimeSlot     string `json:"timeSlot" binding:"required"` // 时间段
	Remark       string `json:"remark"`
}

// SelectPatientReq 选择就诊人请求
type SelectPatientReq struct {
	PatientId int64 `json:"patientId" binding:"required"`
}

// SelectVisitTypeReq 选择初/复诊请求
type SelectVisitTypeReq struct {
	VisitType int `json:"visitType" binding:"required"` // 1:初诊 2:复诊
}

// PaymentReq 支付请求
type PaymentReq struct {
	OrderId     int64  `json:"orderId" binding:"required"`
	PaymentType int    `json:"paymentType" binding:"required"` // 1:支付宝 2:微信 3:到院支付
	ReturnUrl   string `json:"returnUrl"`
}

